package com.gusha.dao;

import java.math.BigInteger;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.gusha.model.SysTicket;
import com.gusha.model.User;

@Repository
public interface SysTicketDao extends JpaRepository<SysTicket,BigInteger>,JpaSpecificationExecutor<SysTicket>{



	List<SysTicket> findAllByUserId(User uid);

	SysTicket findAllById(BigInteger bigInteger);

	SysTicket findAllByTicketNo(String path1);

}
